@import "layout";
@keyframes move1 {
    0%{
        transform: translateX(0);
    }
    45%{
        transform: translateX(0);
    }
    55%{
        transform: translateX(-100vw);
    }
    100%{
        transform: translateX(-100vw);
    }
}
@keyframes move2 {
    0%{
        background-color: #fff;
    }
    45%{
        background-color: #fff;
    }
    55%{
        background-color: #ddd;
    }
    100%{
        background-color: #ddd;
    }
}
@keyframes move3 {
    0%{
        background-color: #ddd;
    }
    45%{
        background-color: #ddd;
    }
    55%{
        background-color: #fff;
    }
    100%{
        background-color: #fff;
    }
}

header{
    width: 7.211538rem;
    overflow: hidden;
    height: 1.423077rem;
    background: #f2f2f2;
    color: #666;
    .header-up{
        height: .846154rem;
        @include flesfun1;
        > a {
            display: block;
            width: 1rem;
            @include flesfun1;
            justify-content: center;
            img{
                width: .480769rem;
            }
            &:nth-child(3){
                img{
                    width: .5rem;
                    height: .5rem;
                }
            }
        }
        div{
            flex: 1;
            padding: 0 .192308rem;
            height: .634615rem;
            background-color: #fff;
            line-height: .634615rem;
            font-size: 0.3rem;
            img{
                width: 20px;
                height: 20px;
                position: relative;
                top: 0.1rem;
                margin-right: .096154rem;
            }
        }
    }
    .header-bottom{
        width: 100%;
        height: .576923rem;
        position: relative;
        @include flesfun1;
        justify-content: space-around;
        box-shadow: 0px .038462rem .019231rem .003846rem rgba(0,0,0,0.08);
        a{
            display: block;
            font-size: .269231rem;
            position: relative;
            text-decoration: none;
            color: #666;
            &:hover{
                &::after{
                    display: block;
                }
            }
            &:first-child{
                &::after{
                    display: block;
                }
            }
            &::after{
                content: '';
                display: block;
                width: 100%;
                position: absolute;
                height: .038462rem;
                background-color: #ff6700;
                bottom: -0.038462rem;
                display: none;
            }
        }
        .bottom-right{
            width: .307692rem;
            height: .307692rem;
            img{
                width: .307692rem;
                height: .307692rem;
                position: absolute;
                // top: -1.2rem;
                right: .192308rem;
                z-index: 999;
                transition: all 0.2s;
                &:hover{
                    transform: rotateZ(180deg);
                }
                &:hover + .menu{ 
                     height: 2.519231rem;
                     > span {
                         transform: scaleX(1) scaleY(1);
                     }
                     div{
                         transform: scaleX(1) scaleY(1);
                     }
                }
            }
            .menu{
                width: 100vw;
                height: 0;
                position: absolute;
                top: 0rem;
                background-color: #f2f2f2;
                z-index: 99;
                right: 0;
                display: flex;
                flex-direction: column;
                > span {
                    display: block;
                    font-size: .28rem;
                    padding-top: .16rem;
                    left: .230769rem;
                    position: relative;
                    transform: scaleX(0) scaleY(0);
                    transition: all 0s 0.2s;
                }
                div{
                    padding-left: .230769rem;
                    padding-right: .230769rem;
                    font-size: .25rem;
                    margin-top: .230769rem;
                    transform: scaleX(0) scaleY(0);
                    transition: all 0s 0.2s;
                    span{
                        display: inline-block;
                        width: 1.346154rem;
                        height: .528846rem;
                        border: .009615rem solid #aaa;
                        border-radius: .096154rem;
                        margin-bottom: .230769rem;
                        margin-right: .192308rem;
                        text-align: center;
                        line-height: .528846rem;
                        &:hover{
                            border-color: #ff6700;
                            background-color: #daa480;
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}
.banner{
    width: 7.211538rem;
    overflow: hidden;
    height: 3.605769rem;
    margin: auto;
    overflow: hidden;
    position: relative;
    .banner-center{
        position: absolute;
        width: 200vw;
        height: 3.605769rem;
        top: 0;
        left: 0;
        transform: translateX(0);
        animation: move1 4s linear infinite;
        display: flex;
        img{
            width: 100vw;
        }
    }
    .banner-dot{
        width: .461538rem;
        height: .153846rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: .384615rem;
        display: flex;
        justify-content: space-between;
        div{
            width: .153846rem;
            height: .153846rem;
            border-radius: 50%;
            &:first-child{
                animation: move2 4s linear infinite;
            }
            &:last-child{
                animation: move3 4s linear infinite;
            }
        }
    }
}
nav{
    width: 7.211538rem;
    overflow: hidden;
    height: 3.057692rem;
    @include girdfun(2,1.523077rem,5,1.442308rem,0);
    a{
        display: block;
        width: 1.442308rem;
        height: 1.523077rem;
        img{
            width: 100%;
            height: 100%;
        }
    }
}

.section-box1 {
    margin: auto;
    margin-top: .192308rem;
    width: 7.211538rem;
    overflow: hidden;
    height: 5.090385rem;
    @include girdfun(2,49.5%,2,49.5%,1%);
    img {
        width: 100%;
        height: 100%;
    }
    .section-box1-merge {
        grid-row-start: 1;
        grid-row-end: 3;
    }
}

.section-box2 {
    margin: auto;
    margin-top: .192308rem;
    width: 7.211538rem;
    overflow: hidden;
    height: 4.423077rem;
    img {
        width: 100%;
        height: 100%;
    }
}

.section-box3 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    background-color: #fff;
    .box {
        width: 48%;
        height: 4.913462rem;
        font-size: .269231rem;
        display: flex;
        flex-direction: column;
        text-align: center;
        button {
            width: 50%;
            align-self: center;
            border: none;
            background-color: #ff6900;
            color: #fff;
            margin-top: .06rem;
            height: .576923rem;
            border-radius: .096154rem;
        }
        span {
            margin-top: .06rem;
            &:nth-child(3){
                color: #aaa;
            }
        }
        p {
            color: #ff6900;
            margin-top: .06rem;
            span {
                text-decoration: line-through;
                color: #aaa;
            }
        }
        img {
            width: 100%;
            height: 57%;
        }
    }
    .ti {
        width: 100%;
        height: 1rem;
        font-size: .307692rem;
        text-align: center;
        line-height: 1rem;
        border-top: 1px solid #aaa;
        a {
            text-decoration: none;
            color: #666;
        }
    }
}

.section-box4 {
    width: 7.211538rem;
    overflow: hidden;
    margin-top: .192308rem;
    width: 100%;
    height: 5.423077rem;
    display: flex;
    flex-direction: column;
    img {
        width: 100%;
        height: 4.423077rem;
    }
    .ti {
        height: 1rem;
        font-size: .307692rem;
        text-align: center;
        line-height: 1rem;
        background-color: #fff;
        a {
            text-decoration: none;
            color: #666;
        }
    }
}

.section-box5{
    margin: auto;
    margin-top: .192308rem;
    width: 7.211538rem;
    overflow: hidden;
    background-color: #fff;
    .box1 {
        width: 100%;
        height: 4.423077rem;
        img {
            width: 100%;
            height: 100%;
        }
    }
    .buttom{
        width: 7.215385rem;
        height: 4.903846rem;
        @include girdfun(1,49.5%,2,49.5%,1%);
        .box{
            height: 4.903846rem;
            font-size: .269231rem;
            display: flex;
            flex-direction: column;
            text-align: center;
            button {
                width: 50%;
                align-self: center;
                border: none;
                background-color: #ff6900;
                color: #fff;
                height: .576923rem;
                border-radius: .096154rem;
                margin-top: .08rem;
            }
            samp {
                margin-top: .08rem;
            }
            p {
                color: #ff6900;
                margin-top: .08rem;
                samp {
                    text-decoration: line-through;
                    color: #000;
                }
            }
            img {
                width: 100%;
                height: 57%;
                margin-bottom: 0.08rem;
            }
        }
    }
    .ti {
        width: 100%;
        height: 1rem;
        font-size: .307692rem;
        text-align: center;
        line-height: 1rem;
        a {
            text-decoration: none;
            color: #666;
        }
    }
}

.section-box6 {
    margin-top: .192308rem;
    width: 7.211538rem;
    overflow: hidden;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    >div {
        margin-top: .08rem;
    }
    .box {
        width: 49%;
        height: 4.807692rem;
        img {
            width: 100%;
            height: 100%;
        }
    }
    .box1 {
        width: 100%;
        padding-bottom: 1rem;
        height: 3.807692rem;
        img {
            width: 100%;
            height: 100%;
        }
    }
}

footer{
    width: 7.211538rem;
    overflow: hidden;
    height: 1rem;
    position: fixed;
    bottom: 0;
    background-color: #fff;
    display: flex;
    a{
        width: 20%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: .230769rem;
        text-decoration: none;
        color: #aaa;
        position: relative;
        &:hover{
            color: #ff6700;
            img{
                &:nth-child(2){
                    display: block;
                }
                &:first-child{
                    visibility: hidden;
                }
            }
        }
        img{
            width: 20px;
            height: 20px;
            &:nth-child(2){
                position: absolute;
                top: .153846rem;
                display: none;
            }
        }
        &:nth-child(1){
            color: #ff6700;
            img{
                &:nth-child(2){
                    display: block;
                }
                &:first-child{
                    visibility: hidden;
                }
            }
        }
    }
}